#include <iostream>
#include <unistd.h>
#include <pthread.h>
void* run1(void* args)
{
    std::cout<<"你好"<<std::endl;
    return (void*)10000;
}

int main()
{
    pthread_t tid1;
    pthread_create(&tid1, nullptr, run1, (void *)"thread-1");
    void* ret = nullptr;
    int n = pthread_join(tid1,&ret);
    printf("函数的返回值是: %lld\n", (long long int)ret+3);

}